package com.sgb.kjwl.model.entity.transport;

import java.util.List;

public class CarrierDetailsEntity {
    /**
     * no : 202006298005365
     * note :
     * contrctsNumber : 17690745070
     * destCityName : 广州市
     * districtName : 水磨沟区
     * freight : 180
     * weight : 23
     * destProvinceName : 广东省
     * updateTime : 1593420204358
     * carLenName : 9.3米
     * destDistrictName :
     * carNumber : 新A74110
     * cityName : 乌鲁木齐市
     * wayList : []
     * carImage : https://shigongbang.oss-cn-hangzhou.aliyuncs.com/machine/610000/20200514117333056430605.jpg
     * contrcts : 刘先生
     * name : 刘岳星
     * id : 268
     * provinceName : 新疆维吾尔自治区
     * carTypeName : 平板
     */

    private String no;
    private String note;
    private String contrctsNumber;
    private String destCityName;
    private String districtName;
    private int freight;
    private int weight;
    private String destProvinceName;
    private long updateTime;
    private String carLenName;
    private String destDistrictName;
    private String carNumber;
    private String cityName;
    private String carImage;
    private String contrcts;
    private String name;
    private int id;
    private String provinceName;
    private String carTypeName;
    private List<?> wayList;
    //可装货开始时间
    private Long shipmentStartTime;
    //可装货结束时间
    private Long shipmentEndTime;
    //承运No
    private String carrierNo;
    private int discuss;
    private Integer freightUnit;

    public String getKilometre() {
        return kilometre;
    }

    public void setKilometre(String kilometre) {
        this.kilometre = kilometre;
    }

    private String kilometre;

    public String getFreightUnit() {
        //1：元/趟   2：元/吨   3：元/方
        String s = "";
        if (freightUnit == null) {
            return "元/吨";
        }
        switch (freightUnit) {
            case 1:
                s = "元/趟";
                break;
            case 3:
                s = "元/方";
                break;
            default:
                s = "元/吨";
                break;
        }
        return s;
    }

    public int getDiscuss() {
        return discuss;
    }

    public void setDiscuss(int discuss) {
        this.discuss = discuss;
    }

    public void setFreightUnit(Integer freightUnit) {
        this.freightUnit = freightUnit;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getContrctsNumber() {
        return contrctsNumber;
    }

    public void setContrctsNumber(String contrctsNumber) {
        this.contrctsNumber = contrctsNumber;
    }

    public String getDestCityName() {
        return destCityName;
    }

    public void setDestCityName(String destCityName) {
        this.destCityName = destCityName;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public int getFreight() {
        return freight;
    }

    public void setFreight(int freight) {
        this.freight = freight;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public String getDestProvinceName() {
        return destProvinceName;
    }

    public void setDestProvinceName(String destProvinceName) {
        this.destProvinceName = destProvinceName;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getCarLenName() {
        return carLenName;
    }

    public void setCarLenName(String carLenName) {
        this.carLenName = carLenName;
    }

    public String getDestDistrictName() {
        return destDistrictName;
    }

    public void setDestDistrictName(String destDistrictName) {
        this.destDistrictName = destDistrictName;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCarImage() {
        return carImage;
    }

    public void setCarImage(String carImage) {
        this.carImage = carImage;
    }

    public String getContrcts() {
        return contrcts;
    }

    public void setContrcts(String contrcts) {
        this.contrcts = contrcts;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public List<?> getWayList() {
        return wayList;
    }

    public void setWayList(List<?> wayList) {
        this.wayList = wayList;
    }

    public Long getShipmentStartTime() {
        return shipmentStartTime;
    }

    public void setShipmentStartTime(Long shipmentStartTime) {
        this.shipmentStartTime = shipmentStartTime;
    }

    public Long getShipmentEndTime() {
        return shipmentEndTime;
    }

    public void setShipmentEndTime(Long shipmentEndTime) {
        this.shipmentEndTime = shipmentEndTime;
    }

    public String getCarrierNo() {
        return carrierNo;
    }

    public void setCarrierNo(String carrierNo) {
        this.carrierNo = carrierNo;
    }
}
